import Taro from '@tarojs/taro';
import {Image, View} from '@tarojs/components';
import {connect} from "@tarojs/redux";
import {request, unite} from '../../../utils/index';
import head from "../../../asset/images/head.png";
import SelectList from "../../../components/select-list/selectList";
import None from "../../../asset/images/none.png";
import './addClassroomTime.scss';


class MyCoupon extends Taro.Component {
    config = {
        // navigationBarTitleText: '',
        // backgroundColor: '#fff',
        navigationStyle:'custom',
        enablePullDownRefresh: true
    };

    state = {
    };

    componentDidMount() {
    }

    render() {
        const {} = this.state;
        return (
            <View className="myPage">
                <View className="head-tops">
                    <View className="head-img-return" onClick={() => {Taro.navigateBack({delta: 1})}}></View>
                    <View className="head-text">教室</View>
                </View>
                <View className="detail-content-wrap">
                    <View className="content-title-wrap flex-l">
                        <View className="left-heng"></View>
                        <View>时间选择</View>
                    </View>
                    <SelectList onTimer={this.getTimers}/>
                </View>
            </View>
        )
    }
}

const mapStateToProps = state => {
    let {} = state;
    return {
    }
};

const mapDispatchToProps = {
};

export default connect(mapStateToProps, mapDispatchToProps)(MyCoupon);



